package cn.stylefeng.guns.modular.business.frequency.orderfinishrecorddetail.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.stylefeng.guns.modular.business.frequency.orderfinishrecorddetail.entity.OrderFinishRecordDetail;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 订单交付记录详情表 Mapper 接口
 *
 * @author yujie
 * @date 2023/05/30 18:11
 */
public interface OrderFinishRecordDetailMapper extends BaseMapper<OrderFinishRecordDetail> {



    @Select("select order_id from tt_order_finish_record_detail where finish_record_id = #{id}")
    List<Long> getOrderIdListByFinishRecordId(@Param("id") String id);



}